import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner myScanner = new Scanner(System.in);
        int[] arr = {8, 5, 4, 9, 2, 7, 3, 10, 6};
        bubbleSortTool b1 = new bubbleSortTool();
        b1.bubble(arr);//光标放在方法上，ctrl + B快速定位方法
        for (int i = 0; i < arr.length; i++) {
            System.out.print(arr[i] + " ");
        }
        //快捷键自动分配变量名
        Scanner scanner = new Scanner(System.in);
    }
}
//查看类的继承关系，光标放到类的名字上 再ctrl+H
class Person{
    String name;
    int age;

    //构造器-快捷键 alt + insert
    public Person() {
    }

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }
}
